* {
  margin: 0;
  height: 0;
  box-sizing: border-box;
}

@keyframes sunMove {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }

  50% {
    opacity: 1;
    transform: translate(-50px, -50px);

  }

  100% {
    opacity: 0;
    transform: translate(-140px, -70px);

  }
}


@keyframes main_sunMove {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }

  30% {
    opacity: 1;
    transform: translate(0px, 150px);

  }

  60% {
    opacity: 1;
    transform: translate(0px, 250px);

  }

  100% {
    opacity: 0;
    transform: translate(-150px, -200px);
  }
}

body {
  user-select: none;
}

.sun {
  position: absolute;
  width: 78px;
  height: 78px;
  animation: sunMove 4s ease-out forwards;
}

.main_sun {
  position: absolute;
  width: 78px;
  height: 78px;
  animation: main_sunMove 6s ease-out forwards;
}

.imgbegin {
  width: 255px;
  height: 108px;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

.wrapper {
  margin: auto;
}

.total {
  overflow: hidden;
  width: 1120px;
  height: 620px;
}

.entire {
  width: 1120px;
  height: 620px;
  overflow: hidden;
}

.entire .startJframe {
  position: absolute;
  width: 1120px;
  height: 620px;
  overflow: hidden;
  background-image: url(../images/interface/menu.png);
  background-repeat: no-repeat;
  background-size: cover;
}

/* 设置按钮样式 */
.entire .startJframe .startGame-btn {
  cursor: pointer;
  position: relative;
  width: 300px;
  height: 50px;
  border-radius: 10px;
  margin-top: 490px;
  background-image: url(../images/interface/LogoLine.png);
  padding-top: 24px;
}

/* 设置按钮中的文本样式 */
.startGame-btn .begin-text {
  width: 300px;
  height: 30px;
  background-image: url(../images/interface/start_leave.png);
  z-index: 2;
}

/* 点击文本时更换图片 */
.startGame-btn .begin-text:hover {
  background-image: url(../images/interface/start_over.png);
}

.menu {
  display: none;
  position: relative;
  width: 1120px;
  height: 620px;
  background-image: url(../images/interface/menujframe.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.menu .menu_btn {
  position: absolute;
  left: 643px;
  top: 75px;
  width: 440px;
  height: 200px;
  background-image: url(../images/interface/jframebt.png);
  background-repeat: no-repeat;
}

.menu .menu_btn:hover {
  background-image: url(../images/interface/jframsebt.png);
}


/* 设置游戏页面 */
.entire .game-jframe {
  display: none;
  position: relative;
  width: 1120px;
  height: 620px;
  background-image: url(../images/interface/background.png);
  background-size: cover;
  background-repeat: no-repeat;
}